3 ms·
Agree - not sure what the advantage is. I understand bootstrapping can be a minor irritation (and I dont have a great way to do it 100% auto) Dynamic inventory
by mbubb 9y ago
Agree - not sure what the advantage is. I understand bootstrapping can be a minor irritation (and I dont have a great way to do it 100% auto)
Dynamic inventory scripts
+
ansible-playbook -k -u root ....
can do the same thing for bootstrapping.
How is this an advantage over that?
- fredsted 9y agoWith Ansible I use the 'raw' command to run a command to check whether Python (dependency of Ansible) is installed, and install it if not. - name: Bootstrap Ansible hosts: all gather_facts: False tasks: - name: Install Python 2 raw: test -e /usr/bin/python || (sudo apt -y update && sudo apt install -y python-minimal)