summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.txt1
-rw-r--r--ansible.cfg3
-rw-r--r--roles/essential/tasks/main.yml (renamed from roles/basic/tasks/main.yml)3
-rw-r--r--setup.yml2
4 files changed, 7 insertions, 2 deletions
diff --git a/TODO.txt b/TODO.txt
index 81759b4..69d3a41 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -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
diff --git a/setup.yml b/setup.yml
index 026e4ef..05d9385 100644
--- a/setup.yml
+++ b/setup.yml
@@ -1,4 +1,4 @@
- name: Basic setup for all hosts
hosts: all
roles:
- - { role: basic }
+ - { role: essential }