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
Xiaowu Zhang
slapos.package
Commits
de4077de
Commit
de4077de
authored
Oct 29, 2018
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: etckeeper minor fixes.
parent
76a387ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
playbook/roles/etckeeper/tasks/main.yml
playbook/roles/etckeeper/tasks/main.yml
+6
-5
No files found.
playbook/roles/etckeeper/tasks/main.yml
View file @
de4077de
...
@@ -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
...
...
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