diff options
Diffstat (limited to 'ansible/roles/holywood2')
-rw-r--r-- | ansible/roles/holywood2/files/exports | 2 | ||||
-rw-r--r-- | ansible/roles/holywood2/tasks/main.yml | 19 |
2 files changed, 16 insertions, 5 deletions
diff --git a/ansible/roles/holywood2/files/exports b/ansible/roles/holywood2/files/exports index 92dc38d..f90ff7c 100644 --- a/ansible/roles/holywood2/files/exports +++ b/ansible/roles/holywood2/files/exports @@ -1,6 +1,8 @@ /mnt/soile/pupu 10.0.0.0/24(rw,nohide,async,no_subtree_check,insecure) /mnt/soile/pupu 10.1.1.0/24(rw,nohide,async,no_subtree_check,insecure) /mnt/soile/pupu 10.2.2.0/24(rw,nohide,async,no_subtree_check,insecure) +/mnt/soile/pupu 10.3.1.0/24(rw,nohide,async,no_subtree_check,insecure) /mnt/media 10.0.0.0/24(ro,nohide,async,no_subtree_check,insecure) /mnt/media 10.1.1.0/24(ro,nohide,async,no_subtree_check,insecure) /mnt/media 10.2.2.0/24(ro,nohide,async,no_subtree_check,insecure) +/mnt/media 10.3.1.0/24(ro,nohide,async,no_subtree_check,insecure) diff --git a/ansible/roles/holywood2/tasks/main.yml b/ansible/roles/holywood2/tasks/main.yml index 1da48db..b67ae16 100644 --- a/ansible/roles/holywood2/tasks/main.yml +++ b/ansible/roles/holywood2/tasks/main.yml @@ -8,11 +8,11 @@ src: ssh-config dest: /home/root/.ssh/config -- name: symlink /root/.ssh to /home/root/.ssh - file: - state: link - src: /home/root/.ssh - path: /root/.ssh +# - name: symlink /root/.ssh to /home/root/.ssh +# file: +# state: link +# src: /home/root/.ssh +# path: /root/.ssh - name: create soile group group: @@ -65,3 +65,12 @@ owner: root group: root mode: 0755 + +- name: install SSH client config + copy: + content: | + Host nalanda + hostname nalanda.liw.fi + ProxyJump exolobe2 + dest: /root/.ssh/config + mode: 0644 |