Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Playbooks
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Akshay
Playbooks
Commits
2a6ceb28
Commit
2a6ceb28
authored
Jan 06, 2021
by
Akshay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New Commit
parent
f795d8fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
0 deletions
+45
-0
copyvm.yaml
copyvm.yaml
+25
-0
useradd.yaml
useradd.yaml
+10
-0
userdel.yaml
userdel.yaml
+10
-0
No files found.
copyvm.yaml
0 → 100644
View file @
2a6ceb28
-
hosts
:
all
tasks
:
-
name
:
Creating new user
user
:
name
:
azeo2020
password
:
$6$7HLRy9mSGUYI$sDEFdHv66EPmPpSOYN.AlGSQubf/dSnYY1xaEBj.7YywDy7bmrnyUlJQwHIdizJjv3D2YNjPQLRVnSzBp11V6/
create_home
:
yes
state
:
present
update_password
:
always
-
name
:
Change file ownership, group and permissions
file
:
path
:
/mnt
owner
:
azeo2020
group
:
azeo2020
mode
:
'
0777'
-
name
:
Copy file with owner and permissions
copy
:
src
:
/tftpboot/Azeo2020.ova
dest
:
/mnt
owner
:
azeo2020
group
:
azeo2020
mode
:
'
0744'
unsafe_writes
:
yes
useradd.yaml
0 → 100644
View file @
2a6ceb28
-
hosts
:
all
gather_facts
:
no
tasks
:
-
name
:
Installing multiple python packages in Ansible
user
:
name
:
cs101local
password
:
$6$U68wPm/kT7$j60vTE7aGJk52mgrD0HVOp.zAKcb0M3iQ4zLpf0n2BhEgrhN/Kp4OrOmB5VGJMkKqFAPjdZ4I6sT/1MbZuyaq/
create_home
:
yes
state
:
present
update_password
:
always
userdel.yaml
0 → 100644
View file @
2a6ceb28
-
hosts
:
all
tasks
:
-
name
:
Delete user
user
:
name
:
student
# password: $6$U68wPm/kT7$j60vTE7aGJk52mgrD0HVOp.zAKcb0M3iQ4zLpf0n2BhEgrhN/Kp4OrOmB5VGJMkKqFAPjdZ4I6sT/1MbZuyaq/
state
:
absent
remove
:
yes
force
:
yes
#update_password: always
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