Select Git revision
Diego Alejandro Arias Rodriguez authored
main.yaml 547 B
- name: example copying file with owner and permissions
copy:
src: /home/alex/CCC/project/comp90024/Ansible/install_couchdb.sh
dest: /home/ubuntu/install_couchdb.sh
owner: ubuntu
group: ubuntu
mode: 0644
- name: change script permissions
become: yes
shell: |
sudo chmod 777 /home/ubuntu/install_couchdb.sh
- name: install couchdb
become: yes
command: sh /home/ubuntu/install_couchdb.sh
- name: Run script cluster
script: sh /home/alex/CCC/project/comp90024/Ansible/cluster_setup.sh COUCHGROUP[0] COUCHGROUP[1]