Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ansible
/
common-playbook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d0448314
authored
Nov 21, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
98d5b8ba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
deployAnsible.yml
deployAnsible.yml
View file @
d044831
...
@@ -2,8 +2,20 @@
...
@@ -2,8 +2,20 @@
-
hosts
:
new-host
-
hosts
:
new-host
become
:
true
become
:
true
tasks
:
tasks
:
-
name
:
Deploy Ansible User
-
name
:
New Ansbile Group
command
:
useradd -m -c "ansible user" -s /bin/bash -U ansible --uid 1111
group
:
name
:
ansbile
state
:
present
-
name
:
New Ansible User
user
:
useradd -m -c "ansible user" -s /bin/bash -U ansible --uid 1111
uid
:
1111
home
:
/home/ansible
name
:
ansible
group
:
ansible
shell
:
/bin/bash
system
:
no
createhome
:
yes
-
name
:
Grant Permission
-
name
:
Grant Permission
command
:
usermod -aG sudo ansible
command
:
usermod -aG sudo ansible
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment