diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-10-01 12:09:08 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-10-01 12:09:08 +0300 |
commit | 9e92c317b7b1dca281a0a13abbba647044420c56 (patch) | |
tree | 8049d6a999949d4725f9c357a8eaac4dc5221f30 /ick-ui.yml | |
parent | d11a62e5168560db31816e0c51adca73ce6770fd (diff) | |
download | ick2-ansible-9e92c317b7b1dca281a0a13abbba647044420c56.tar.gz |
Add: ick-ui
Diffstat (limited to 'ick-ui.yml')
-rw-r--r-- | ick-ui.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ick-ui.yml b/ick-ui.yml new file mode 100644 index 0000000..eba69b8 --- /dev/null +++ b/ick-ui.yml @@ -0,0 +1,37 @@ +- hosts: ui + remote_user: root + become: yes + roles: + - sane_debian_system + - unix_users + - comfortable + - apache_server + - ick_ui + vars: + hostname: ick + + wm_ssh_key_pub: "{{ lookup('pipe', 'pass show ick2/wm_ssh_key_pub') }}" + + unix_users: + - username: root + authorized_keys: | + {{ wm_ssh_key_pub }} + {{ demo_wm_ssh_key_pub }} + {{ liw_ssh_key_pub }} + - username: ivan + sudo: yes + authorized_keys: | + {{ ivan_ssh_key_pub }} + + letsencrypt: yes + letsencrypt_email: liw@liw.fi + + static_sites: + - domain: ick-ui.vm.liw.fi + owner: root + ownermail: liw@liw.fi + letsencrypt: yes + + sources_lists: + - repo: "deb https://deb.nodesource.com/node_10.x stretch main" + signing_key: "{{ nodesource_signing_key }}" |