Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
s3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
s3
Commits
18318e1d
Commit
18318e1d
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting [skip-ci]
parent
b661dd06
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/main.yml
+38
-38
38 additions, 38 deletions
tasks/main.yml
with
38 additions
and
38 deletions
tasks/main.yml
+
38
−
38
View file @
18318e1d
...
...
@@ -9,43 +9,43 @@
-
block
:
-
name
:
Apt Keys
apt_key
:
url
=
'{{ item }}'
state
='
present
'
with_items
:
-
http://s3tools.org/repo/deb-all/stable/s3tools.key
-
name
:
Apt Repositories
apt_repository
:
repo
=
'{{ item }}'
state
='
present
'
mode
='
644
'
with_items
:
-
deb http://s3tools.org/repo/deb-all stable/
-
name
:
Install more packages
apt
:
pkg
=
'{{ packages }}'
state
='
present
'
update_cache
=
yes
vars
:
packages
:
-
s3cmd
-
name
:
Ensure directory
file
:
dest
='
/opt/s3/
'
owner
='
root
'
group
='
root
'
state
='
directory
'
mode
='
775
'
-
name
:
Copy files
template
:
src
=
'{{ item }}'
dest
='
/opt/s3/{{ item }}
'
with_items
:
-
s3.cfg
-
name
:
Apt Keys
apt_key
:
url
:
'
{{
item
}}'
state
:
present
with_items
:
-
http://s3tools.org/repo/deb-all/stable/s3tools.key
-
name
:
Apt Repositories
apt_repository
:
repo
:
'
{{
item
}}'
state
:
present
mode
:
0
644
with_items
:
-
deb http://s3tools.org/repo/deb-all stable/
-
name
:
Install more packages
apt
:
pkg
:
'
{{
packages
}}'
state
:
present
update_cache
:
yes
vars
:
packages
:
-
s3cmd
-
name
:
Ensure directory
file
:
dest
:
/opt/s3/
owner
:
root
group
:
root
state
:
directory
mode
:
0
775
-
name
:
Copy files
template
:
src
:
'
{{
item
}}'
dest
:
/opt/s3/{{ item }}
with_items
:
-
s3.cfg
when
:
not excluded_roles or "s3" not in excluded_roles
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment