Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
4712f5b0
Commit
4712f5b0
authored
Oct 07, 2013
by
e0d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding dest param
parent
130d93b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
playbooks/roles/automated/tasks/main.yml
+7
-3
No files found.
playbooks/roles/automated/tasks/main.yml
View file @
4712f5b0
...
...
@@ -27,6 +27,7 @@
# - {
# role: automated,
# automated_rbash_links: $as_automated_rbash_links,
# automated_sudoers_dest: '99-my_role'
# automated_sudoers_file: 'roles/my_role/files/etc/sudoers.d/99-my_role'
# }
#
...
...
@@ -36,6 +37,7 @@
# - {
# role: automated,
# automated_rbash_links: $as_automated_rbash_links,
# automated_sudoers_dest: '99-my_role'
# automated_sudoers_template: 'roles/my_role/templates/etc/sudoers.d/99-my_role.j2'
# }
#
...
...
@@ -51,6 +53,9 @@
-
fail
:
automated_rbash_links required for role
when
:
automated_rbash_links is not defined
-
fail
:
automated_sudoers_dest required for role
when
:
automated_sudoers_dest is not defined
-
name
:
automated | create automated user
user
:
...
...
@@ -77,7 +82,7 @@
dest=/etc/sudoers.d/{{ automated_sudoers_file.split('/').pop() }}
src={{ automated_sudoers_template }} owner="root"
group="root" mode=0440 validate='visudo -cf %s'
when
:
automated_sudoers_tempate is defined
when
:
automated_sudoers_temp
l
ate is defined
tags
:
-
automated
-
install
...
...
@@ -184,4 +189,4 @@
tags
:
-
automated
-
install
-
update
\ No newline at end of file
-
update
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