diff options
-rw-r--r-- | TODO.txt | 1 | ||||
-rw-r--r-- | ansible.cfg | 3 | ||||
-rw-r--r-- | roles/essential/tasks/main.yml (renamed from roles/basic/tasks/main.yml) | 3 | ||||
-rw-r--r-- | setup.yml | 2 |
4 files changed, 7 insertions, 2 deletions
@@ -4,6 +4,7 @@ ANSIBLE * Is there a way to make playbooks cross-platform? For example have same setup for CentOS and Arch Linux? Is it possible to extend it to macOS? * Figure out directory structure. +* How to bootstrap python? DISTRIBUTION diff --git a/ansible.cfg b/ansible.cfg index 7b3ffcb..600b508 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,3 +1,6 @@ [defaults] inventory = hosts.ini remote_user = root +# Don't want to see warning about Python. On everything I run, proper Python 3 +# should be discoverable. +interpreter_python = auto_silent diff --git a/roles/basic/tasks/main.yml b/roles/essential/tasks/main.yml index 50dee3d..26fcea0 100644 --- a/roles/basic/tasks/main.yml +++ b/roles/essential/tasks/main.yml @@ -1,7 +1,8 @@ -- name: Install basic tools +- name: Install essential tools ansible.builtin.package: name: - vim - screen - git + - which state: present @@ -1,4 +1,4 @@ - name: Basic setup for all hosts hosts: all roles: - - { role: basic } + - { role: essential } |