summaryrefslogtreecommitdiff
path: root/ansible/plays/malabaricus-base.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/plays/malabaricus-base.yml')
-rw-r--r--ansible/plays/malabaricus-base.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/ansible/plays/malabaricus-base.yml b/ansible/plays/malabaricus-base.yml
new file mode 100644
index 0000000..e782fb2
--- /dev/null
+++ b/ansible/plays/malabaricus-base.yml
@@ -0,0 +1,30 @@
+- hosts:
+ - malabaricus
+ tasks:
+ - import_role:
+ name: unix-machine
+ - import_role:
+ name: lusers
+ - import_role:
+ name: superusers
+
+ - become: yes
+ name: /etc/hostname
+ copy:
+ dest: /etc/hostname
+ content: |
+ malabaricus
+ - become: yes
+ name: /etc/hosts
+ copy:
+ dest: /etc/hosts
+ content: |
+ 127.0.0.1 localhost malabaricus
+ ::1 localhost malabaricus ip6-localhost ip6-loopback
+ fe00::0 ip6-localnet
+ ff00::0 ip6-mcastprefix
+ ff02::1 ip6-allnodes
+ ff02::2 ip6-allrouters
+
+ - import_role:
+ name: docker-host