diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-07-28 12:55:26 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-07-28 12:55:26 +0300 |
commit | dd679a3dafddec37b173d8c789124ec9e58ae8b5 (patch) | |
tree | f8bddafa0bbe94b772c6c0f822acc6b7f1426e6f | |
parent | 7513d9beb5d31bce703fd08cf73c30656f82a444 (diff) | |
download | ansibleness-dd679a3dafddec37b173d8c789124ec9e58ae8b5.tar.gz |
Add tvansible
-rw-r--r-- | ansible/all.yml | 2 | ||||
-rw-r--r-- | ansible/hosts | 1 | ||||
-rw-r--r-- | ansible/roles/ansible/tasks/main.yml | 4 | ||||
-rw-r--r-- | ansible/tilaajavastuu.yml (renamed from ansible/tvdev.yml) | 12 |
4 files changed, 18 insertions, 1 deletions
diff --git a/ansible/all.yml b/ansible/all.yml index 1cbba69..ee18500 100644 --- a/ansible/all.yml +++ b/ansible/all.yml @@ -2,5 +2,5 @@ - include: ick.yml - include: servers.yml - include: obbench.yml -- include: tvdev.yml +- include: tilaajavastuu.yml ... diff --git a/ansible/hosts b/ansible/hosts index ea9aa5a..cfa1c48 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -1,5 +1,6 @@ willikins hostname=willikins distro=jessie tvdev hostname=tvdev distro=jessie +tvansible hostname=tvansible distro=unstable [obbench] obbench3.default.liw.uk0.bigv.io hostname=obbench3 distro=jessie diff --git a/ansible/roles/ansible/tasks/main.yml b/ansible/roles/ansible/tasks/main.yml new file mode 100644 index 0000000..9a48041 --- /dev/null +++ b/ansible/roles/ansible/tasks/main.yml @@ -0,0 +1,4 @@ +--- +- name: install ansible + apt: name=ansible +... diff --git a/ansible/tvdev.yml b/ansible/tilaajavastuu.yml index e0a8fef..2105c26 100644 --- a/ansible/tvdev.yml +++ b/ansible/tilaajavastuu.yml @@ -12,4 +12,16 @@ - devel - users - tvdev +- hosts: tvansible + remote_user: ansible + sudo: yes + vars: + debian_mirror: http://192.168.122.1/debian + debian_mirror_src: http://ftp.fi.debian.org/debian + roles: + - basic-setup + - apt-setup + - liw-usual + - ansible + - users ... |