touch .bashrc um Fehler anzufangen falls die Datei nicht existiert (#76)
* touch .bashrc um Fehler anzufangen falls die Datei nicht existiert * become: yes * Task Name
This commit is contained in:
parent
d417335d67
commit
84c1c7bd0e
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,12 @@
|
||||||
state: present
|
state: present
|
||||||
cache_valid_time: 360
|
cache_valid_time: 360
|
||||||
|
|
||||||
|
- name: touch "{{ tmux_bashrc_destination }}"
|
||||||
|
become: yes
|
||||||
|
file:
|
||||||
|
path: "{{ tmux_bashrc_destination }}"
|
||||||
|
state: touch
|
||||||
|
|
||||||
# - name: ensure homedir exists
|
# - name: ensure homedir exists
|
||||||
# become: yes
|
# become: yes
|
||||||
# ansible.builtin.file:
|
# ansible.builtin.file:
|
||||||
|
|
Loading…
Reference in a new issue