Commit de4077de authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: etckeeper minor fixes.

parent 76a387ee
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
- file: path=/etc/.gitignore state=touch mode=0660 - file: path=/etc/.gitignore state=touch mode=0660
- lineinfile: - lineinfile:
path:/etc/.gitignore dest:/etc/.gitignore
line:{{ item }} line:{{ item }}
when: etckeeper_configuration.stat.exists == False when: etckeeper_configuration.stat.exists == False
with_items: with_items:
...@@ -38,11 +38,12 @@ ...@@ -38,11 +38,12 @@
- re6stnet/cert.key - re6stnet/cert.key
- opt/slapos/ssl - opt/slapos/ssl
- lineinfile:
- lineinfile: dest:/etc/etckeeper/etckeeper.conf
path:/etc/etckeeper/etckeeper.conf line:{{ item }}
line:VCS="git"
when: etckeeper_configuration.stat.exists == False when: etckeeper_configuration.stat.exists == False
with_items:
- VCS="git"
- shell: git config user.email `root@hostname` - shell: git config user.email `root@hostname`
when: etckeeper_configuration.stat.exists == False 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