Skip to content

Commit

Permalink
Merge pull request #2 from usegalaxy-eu/ansible-postboot
Browse files Browse the repository at this point in the history
Tagged autofs-config tasks as "postboot"
  • Loading branch information
mira-miracoli authored Feb 27, 2023
2 parents 83dc44a + 638fef4 commit ad53909
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
- name: Copy main autofs file
tags:
- postboot
- postboot-autofs
ansible.builtin.template:
src: data.autofs.j2
dest: "/etc/auto.master.d/data.autofs"
Expand All @@ -10,6 +13,9 @@
when: (autofs_mount_points is defined) and (autofs_mount_points|length > 0)

- name: Copy mount point configuration file
tags:
- postboot
- postboot-autofs
ansible.builtin.template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
Expand All @@ -25,6 +31,9 @@
notify: autofs restart

- name: autofs service enable
tags:
- postboot
- postboot-autofs
ansible.builtin.service:
name: autofs
enabled: yes
Expand Down

0 comments on commit ad53909

Please sign in to comment.