Search - Login
ui-buttonAnsible installationInstall ansible:sudo apt-get install software-properties-commonsudo apt-add-repository ppa:ansible/ansiblesudo apt-get update && sudo apt-get install ansible sshpasssudo vi /etc/ansible/ansible.cfgThen replace:scp_if_ssh = Truelibrary = /etc/ansible/modulesssh_args = -o ForwardAgent=yeslog_path = /home/guenmat/Bureau/ansible.logAdd the following modules:sudo mkdir /etc/ansible/modulescd /etc/ansible/modules && sudo wget https://raw.githubusercontent.com/jistr/ansible-gsetting/master/gsetting.py && sudo mv gsetting.py gsettingcd /etc/ansible/modules && sudo wget https://raw.github.com/jistr/ansible-dconf/master/dconf.py && sudo mv dconf.py dconfThen launch the script and enjoy:cd /data/Projets/ansible/playbookansible-playbook asusrogG501.yml -i ./inventories/asusrogG501.inventory -v --user=guenmat --ask-pass --ask-become-pass --become
Install ansible:
sudo apt-get install software-properties-commonsudo apt-add-repository ppa:ansible/ansiblesudo apt-get update && sudo apt-get install ansible sshpasssudo vi /etc/ansible/ansible.cfg
Then replace:
scp_if_ssh = Truelibrary = /etc/ansible/modulesssh_args = -o ForwardAgent=yeslog_path = /home/guenmat/Bureau/ansible.log
Add the following modules:
sudo mkdir /etc/ansible/modulescd /etc/ansible/modules && sudo wget https://raw.githubusercontent.com/jistr/ansible-gsetting/master/gsetting.py && sudo mv gsetting.py gsettingcd /etc/ansible/modules && sudo wget https://raw.github.com/jistr/ansible-dconf/master/dconf.py && sudo mv dconf.py dconf
Then launch the script and enjoy:
cd /data/Projets/ansible/playbookansible-playbook asusrogG501.yml -i ./inventories/asusrogG501.inventory -v --user=guenmat --ask-pass --ask-become-pass --become