Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
playbooks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
playbooks
Commits
8218901b
Commit
8218901b
authored
Dec 30, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f6d27ad8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
init.yml
init.yml
+4
-4
No files found.
init.yml
View file @
8218901b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
-
name
:
authorized_key
-
name
:
authorized_key
authorized_key
:
authorized_key
:
user
:
"
{{
ansible_user_id
}}"
user
:
"
{{
ansible_user_id
}}"
key
:
"
{{
lookup('file',
'
~/.ssh/id_rsa.pub
')
}}"
key
:
"
{{
lookup('file',
'
../authorized_keys
')
}}"
# when: "ansible_distribution != 'CentOS' or ansible_distribution_major_version|int != 8"
# when: "ansible_distribution != 'CentOS' or ansible_distribution_major_version|int != 8"
-
name
:
sudoers
-
name
:
sudoers
become
:
true
become
:
true
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
apt
:
apt
:
update_cache
:
true
update_cache
:
true
state
:
latest
state
:
latest
name
:
curl,wget,git,vim,sudo,byobu,iftop,iotop,build-essential,p7zip-full,xclip,astyle,python-setuptools,python-dev,tcpdump,rsync,htop,locales,mtr,dnsutils,net-tools,traceroute,tar
name
:
curl,wget,git,vim,sudo,byobu,iftop,iotop,build-essential,p7zip-full,xclip,astyle,python-setuptools,python-dev,tcpdump,rsync,htop,locales,mtr,dnsutils,net-tools,traceroute,tar
,unzip,iperf,nmap,dnsutils
when
:
"
ansible_distribution
!=
'CentOS'"
when
:
"
ansible_distribution
!=
'CentOS'"
-
name
:
Ubuntu packages
-
name
:
Ubuntu packages
become
:
true
become
:
true
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
become
:
true
become
:
true
yum
:
yum
:
state
:
latest
state
:
latest
name
:
curl,wget,git,vim,sudo,byobu,iftop,iotop,gcc,gcc-c++,make,autoconf,p7zip,p7zip-plugins,tcpdump,rsync,htop,mtr,net-tools,ctags,xclip,traceroute,tar
# astyle
name
:
curl,wget,git,vim,sudo,byobu,iftop,iotop,gcc,gcc-c++,make,autoconf,p7zip,p7zip-plugins,tcpdump,rsync,htop,mtr,net-tools,ctags,xclip,traceroute,tar
,unzip,iperf,nmap
# astyle
when
:
"
ansible_distribution
==
'CentOS'
and
ansible_distribution_major_version|int
==
7"
when
:
"
ansible_distribution
==
'CentOS'
and
ansible_distribution_major_version|int
==
7"
#- name: yum autoremove
#- name: yum autoremove
# become: true
# become: true
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
become
:
true
become
:
true
dnf
:
dnf
:
state
:
latest
state
:
latest
name
:
curl,wget,git,vim,sudo,byobu,iftop,iotop,gcc,gcc-c++,make,autoconf,p7zip,p7zip-plugins,tcpdump,rsync,htop,mtr,net-tools,ctags,astyle,traceroute,tar
# xclip
name
:
curl,wget,git,vim,sudo,byobu,iftop,iotop,gcc,gcc-c++,make,autoconf,p7zip,p7zip-plugins,tcpdump,rsync,htop,mtr,net-tools,ctags,astyle,traceroute,tar
,unzip,iperf,nmap
# xclip
when
:
"
ansible_distribution
==
'CentOS'
and
ansible_distribution_major_version|int
==
8"
when
:
"
ansible_distribution
==
'CentOS'
and
ansible_distribution_major_version|int
==
8"
-
name
:
dnf autoremove
-
name
:
dnf autoremove
become
:
true
become
:
true
...
...
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