Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
slapos.package
Commits
1cb0ebeb
Commit
1cb0ebeb
authored
Nov 28, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Fix etckeeper role
parent
f113ba4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
playbook/roles/etckeeper/tasks/main.yml
playbook/roles/etckeeper/tasks/main.yml
+6
-8
No files found.
playbook/roles/etckeeper/tasks/main.yml
View file @
1cb0ebeb
...
...
@@ -25,9 +25,9 @@
-
file
:
path=/etc/.gitignore state=touch mode=0660
-
lineinfile
:
dest
:
/etc/.gitignore
line
:
{{ item }}
when
:
etckeeper_configuration.stat.exists ==
Fals
e
dest
=
/etc/.gitignore
line
=
{{ item }}
when
:
etckeeper_configuration.stat.exists ==
Tru
e
with_items
:
-
~*
-
shadow*
...
...
@@ -39,11 +39,9 @@
-
opt/slapos/ssl
-
lineinfile
:
dest:/etc/etckeeper/etckeeper.conf
line:{{ item }}
when
:
etckeeper_configuration.stat.exists == False
with_items
:
-
VCS="git"
dest=/etc/etckeeper/etckeeper.conf
line="VCS=\"git\""
when
:
etckeeper_configuration.stat.exists == True
-
shell
:
git config user.email `root@hostname`
when
:
etckeeper_configuration.stat.exists == False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment