Commit de4077de authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: etckeeper minor fixes.

parent 76a387ee
......@@ -25,7 +25,7 @@
- file: path=/etc/.gitignore state=touch mode=0660
- lineinfile:
path:/etc/.gitignore
dest:/etc/.gitignore
line:{{ item }}
when: etckeeper_configuration.stat.exists == False
with_items:
......@@ -38,11 +38,12 @@
- re6stnet/cert.key
- opt/slapos/ssl
- lineinfile:
path:/etc/etckeeper/etckeeper.conf
line:VCS="git"
dest:/etc/etckeeper/etckeeper.conf
line:{{ item }}
when: etckeeper_configuration.stat.exists == False
with_items:
- VCS="git"
- shell: git config user.email `root@hostname`
when: etckeeper_configuration.stat.exists == False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment