Joined February 2015
· 
Arbab Nazar
Pakistan ·
Posted to Use Ansible vault with Vagrant over 1 year ago
We can also use like this:
config.vm.provision :ansible do |ansible|
ansible.ask_vault_pass = true ansible.playbook = "site.yml" ansible.sudo = true ansible.extra_vars = { ansible_ssh_user: 'vagrant' } ansible.raw_arguments = "--private-key=~/.vagrant.d/insecure_private_key" ansible.host_key_checking = false
end
Posted to Template an Ansible playbook w/o interpreting variables over 1 year ago
Excellent. Thanks
Posted to ansible install java 8 over 1 year ago
Instead of using two times shell command, we can use the debconf module to accept the licence.
debconf: name='oracle-java8-installer' question='shared/accepted-oracle-license-v1-1' value='true' vtype='select'
Thanks
Posted to Check if security updates needed on Ubuntu servers over 1 year ago
Excellent tips. Thanks
Posted to How to create a LAMP stack with Ansible over 1 year ago
Thanks for such a nice tutorial/article:
I think the better option is to use like this:
- name: Install Apache
apt: name={{ item }} state=installed update_cache=yes
with_items:
- apache2
- libapache2-mod-php5
and also:
- name: Install MariaDB
apt: name={{ item }} state=installed update_cache=yes
with_items:
- mariadb-server
- python-mysqldb
Thanks
Thanks for such a nice playbook, but we can use the debconf module to accept the license.
debconf: name='oracle-java7-installer' question='shared/accepted-oracle-license-v1-1' value='true' vtype='select'