remove role prefix
This commit is contained in:
parent
4378d33dff
commit
8e5245de97
1 changed files with 5 additions and 5 deletions
|
@ -4,29 +4,29 @@
|
||||||
manager: "auto"
|
manager: "auto"
|
||||||
|
|
||||||
- name: Clone dehydrated repo.
|
- name: Clone dehydrated repo.
|
||||||
ansible.builtin.git:
|
git:
|
||||||
repo: 'https://github.com/dehydrated-io/dehydrated.git'
|
repo: 'https://github.com/dehydrated-io/dehydrated.git'
|
||||||
dest: "{{ dehydrated_location }}"
|
dest: "{{ dehydrated_location }}"
|
||||||
version: "{{ dehydrated_version }}"
|
version: "{{ dehydrated_version }}"
|
||||||
|
|
||||||
- name: Ensure dehydrated symlink is present.
|
- name: Ensure dehydrated symlink is present.
|
||||||
ansible.builtin.file:
|
file:
|
||||||
src: "{{ dehydrated_location }}/dehydrated"
|
src: "{{ dehydrated_location }}/dehydrated"
|
||||||
dest: "{{ dehydrated_binary }}"
|
dest: "{{ dehydrated_binary }}"
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
- name: Ensure config directory is present.
|
- name: Ensure config directory is present.
|
||||||
ansible.builtin.file:
|
file:
|
||||||
path: "{{ dehydrated_config }}"
|
path: "{{ dehydrated_config }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: Ensure domains.txt is present.
|
- name: Ensure domains.txt is present.
|
||||||
ansible.builtin.file:
|
file:
|
||||||
path: "{{ dehydrated_config }}/domains.txt"
|
path: "{{ dehydrated_config }}/domains.txt"
|
||||||
state: touch
|
state: touch
|
||||||
|
|
||||||
- name: Ensure config is present.
|
- name: Ensure config is present.
|
||||||
ansible.builtin.template:
|
template:
|
||||||
src: config.j2
|
src: config.j2
|
||||||
dest: "{{ dehydrated_config }}/config"
|
dest: "{{ dehydrated_config }}/config"
|
||||||
notify: dehydrated register
|
notify: dehydrated register
|
||||||
|
|
Loading…
Reference in a new issue