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 b0f9728c
authored
Nov 21, 2017
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
8a696b1c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
deployAnsible.yml
deployAnsible.yml
View file @
b0f9728
...
@@ -4,10 +4,11 @@
...
@@ -4,10 +4,11 @@
tasks
:
tasks
:
-
name
:
Deploy Ansible User
-
name
:
Deploy Ansible User
command
:
useradd -m -c "ansible user" -s /bin/bash -U ansible --uid 1111
command
:
useradd -m -c "ansible user" -s /bin/bash -U ansible --uid 1111
-
name
:
Grant Permission
-
name
:
Grant Permission
command
:
usermod -aG sudo ansible
command
:
usermod -aG sudo ansible
-
name
:
Deploy Key
copy
:
-
copy
:
src
:
/tmp/configuration/authorized_keys
src
:
/tmp/configuration/authorized_keys
dest
:
/home/ansible/.ssh/authorized_keys
dest
:
/home/ansible/.ssh/authorized_keys
owner
:
ansible
owner
:
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