Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
composer
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
composer
Commits
7c8d483d
Commit
7c8d483d
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting [skip-ci]
parent
78704cd5
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
defaults/main.yml
+3
-3
3 additions, 3 deletions
defaults/main.yml
meta/main.yml
+15
-15
15 additions, 15 deletions
meta/main.yml
tasks/main.yml
+10
-10
10 additions, 10 deletions
tasks/main.yml
tasks/update.yml
+1
-1
1 addition, 1 deletion
tasks/update.yml
with
29 additions
and
29 deletions
defaults/main.yml
+
3
−
3
View file @
7c8d483d
---
composer_path
:
/usr/local/bin/composer
composer_update
:
true
composer_update
:
yes
composer_update_day
:
20
composer_home_path
:
/opt/composer
composer_home_owner
:
root
...
...
@@ -13,5 +13,5 @@ composer_global_packages_base: {}
# Visit https://github.com/settings/applications
# and generate personal access token
composer_github_oauth
:
false
composer_http_basic
:
false
composer_github_oauth
:
no
composer_http_basic
:
no
This diff is collapsed.
Click to expand it.
meta/main.yml
+
15
−
15
View file @
7c8d483d
...
...
@@ -6,21 +6,21 @@ galaxy_info:
license
:
license MIT
min_ansible_version
:
1.5
platforms
:
-
name
:
Ubuntu
versions
:
-
all
-
name
:
Debian
versions
:
-
all
-
name
:
Fedora
versions
:
-
all
-
name
:
CentOS
versions
:
-
all
-
name
:
Redhat
versions
:
-
all
-
name
:
Ubuntu
versions
:
-
all
-
name
:
Debian
versions
:
-
all
-
name
:
Fedora
versions
:
-
all
-
name
:
CentOS
versions
:
-
all
-
name
:
Redhat
versions
:
-
all
categories
:
-
packaging
-
web
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
10
−
10
View file @
7c8d483d
---
-
block
:
-
import_tasks
:
install.yml
-
import_tasks
:
test.yml
tags
:
-
update
-
import_tasks
:
configure.yml
-
import_tasks
:
auth_json.yml
-
import_tasks
:
update.yml
when
:
composer_update ==
true
tags
:
-
update
-
import_tasks
:
install.yml
-
import_tasks
:
test.yml
tags
:
-
update
-
import_tasks
:
configure.yml
-
import_tasks
:
auth_json.yml
-
import_tasks
:
update.yml
when
:
composer_update ==
true
tags
:
-
update
when
:
not excluded_roles or "composer" not in excluded_roles
This diff is collapsed.
Click to expand it.
tasks/update.yml
+
1
−
1
View file @
7c8d483d
...
...
@@ -3,7 +3,7 @@
-
name
:
Get date for composer update
shell
:
"
date
--date='{{
composer_update_day
}}
days
ago'
+'%s'"
register
:
composer_date
changed_when
:
False
changed_when
:
no
-
name
:
Update composer if necessary
shell
:
"
{{
composer_path
}}
selfupdate"
...
...
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