diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2020-12-26 14:17:41 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2020-12-26 14:17:41 +0100 |
commit | 9e4e02fdfb5a9e038c5e09a38fa51b457164156b (patch) | |
tree | 7c3f088425b3998432e70e59fa802f613f49e374 /ansible/plays/malabaricus-base.yml | |
parent | 4083f32156c5df71cb6ea370a411e152c8a67b8b (diff) | |
download | infra-9e4e02fdfb5a9e038c5e09a38fa51b457164156b.tar.gz infra-9e4e02fdfb5a9e038c5e09a38fa51b457164156b.tar.bz2 infra-9e4e02fdfb5a9e038c5e09a38fa51b457164156b.tar.xz infra-9e4e02fdfb5a9e038c5e09a38fa51b457164156b.zip |
Replaced malabaricus.
Diffstat (limited to 'ansible/plays/malabaricus-base.yml')
-rw-r--r-- | ansible/plays/malabaricus-base.yml | 30 |
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 |