Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
8204dc69
Commit
8204dc69
authored
6 years ago
by
David Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ansible: add become test case
parent
ed09076b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
examples/playbook/roles/whoami/tasks/main.yml
examples/playbook/roles/whoami/tasks/main.yml
+8
-0
examples/playbook/whoami.yml
examples/playbook/whoami.yml
+6
-0
No files found.
examples/playbook/roles/whoami/tasks/main.yml
0 → 100644
View file @
8204dc69
---
-
name
:
"
This
command
should
run
as
the
SSH
user"
command
:
whoami
-
name
:
"
This
command
should
run
as
root"
become
:
true
command
:
whoami
This diff is collapsed.
Click to expand it.
examples/playbook/whoami.yml
0 → 100644
View file @
8204dc69
---
-
hosts
:
all
roles
:
-
whoami
This diff is collapsed.
Click to expand it.
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