summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.txt2
-rw-r--r--ansible.cfg1
-rw-r--r--playbooks/essential.yml (renamed from essential.yml)0
-rw-r--r--roles/users/tasks/main.yml2
-rw-r--r--setup.yml9
5 files changed, 3 insertions, 11 deletions
diff --git a/README.txt b/README.txt
index 5500b70..46ad9ff 100644
--- a/README.txt
+++ b/README.txt
@@ -10,4 +10,4 @@ $ pip3 install -r requirements.txt
RUN
-$ ansible-playbook setup.yml
+$ ansible-playbook essential.yml
diff --git a/ansible.cfg b/ansible.cfg
index 600b508..4423c2a 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -1,5 +1,6 @@
[defaults]
inventory = hosts.ini
+roles_path = roles
remote_user = root
# Don't want to see warning about Python. On everything I run, proper Python 3
# should be discoverable.
diff --git a/essential.yml b/playbooks/essential.yml
index dc08d81..dc08d81 100644
--- a/essential.yml
+++ b/playbooks/essential.yml
diff --git a/roles/users/tasks/main.yml b/roles/users/tasks/main.yml
index 264ad28..dea8a82 100644
--- a/roles/users/tasks/main.yml
+++ b/roles/users/tasks/main.yml
@@ -22,7 +22,7 @@
- name: Update authorized_keys for Dmitry Ilvokhin
ansible.builtin.copy:
- src: roles/users/files/id_rsa.pub
+ src: files/id_rsa.pub
dest: /home/d/.ssh/authorized_keys
owner: d
group: d
diff --git a/setup.yml b/setup.yml
deleted file mode 100644
index 0824014..0000000
--- a/setup.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-- name: Basic setup for all hosts
- hosts: all
- roles:
- - { role: essential }
-
-- name: Setup web hosts
- hosts: web
- roles:
- - { role: web }