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:
Quotengrote 2020-11-30 09:42:26 +01:00 committed by GitHub
parent d417335d67
commit 84c1c7bd0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: