Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
webservices
Merge requests
!4
WIP: add acmebot role
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Closed
WIP: add acmebot role
acmebot
into
master
Overview
1
Commits
34
Pipelines
1
Changes
1
Closed
WIP: add acmebot role
Lars Beckers
requested to merge
acmebot
into
master
Aug 2, 2019
Overview
1
Commits
34
Pipelines
1
Changes
1
Implements configuration of the acmebot package we built. Some TODOs and testing left.
0
0
Merge request reports
Viewing commit
81de8727
Prev
Next
Show latest version
1 file
+
7
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
81de8727
static-website: fix linter issues
· 81de8727
Lars Beckers
authored
Sep 11, 2019
static-website/tasks/main.yml
+
7
−
13
View file @ 81de8727
Show full file
@@ -6,35 +6,29 @@
dest
:
"
/root/.ssh/{{
item.deploy_key_name
}}"
owner
:
root
group
:
root
mode
:
0600
mode
:
'
0600
'
when
:
-
item.deploy_key is defined
-
item.deploy_key
!= ''
-
item.deploy_key
|bool
-
item.deploy_key_name is defined
-
item.deploy_key_name
!= ''
-
item.deploy_key_name
|bool
with_items
:
"
{{
static_websites
}}"
tags
:
-
static-website
# https://github.com/ansible/ansible/issues/27699
-
name
:
ensure git module is able to clone
command
:
mount -o remount,exec /tmp
tags
:
-
static-website
# https://github.com/ansible/ansible/issues/30064#issuecomment-487149251
-
name
:
ensure we have up-to-date websites
git
:
repo
:
"
{{
item.git_url
}}"
dest
:
"
{{
item.path
}}"
# yamllint disable-line rule:line-length
key_file
:
"
/root/.ssh/{{
item.deploy_key_name|default(None,
true)
or
omit
}}"
version
:
"
{{
item.git_version|default('HEAD')
}}"
umask
:
"
{{
item.umask|default('022')
}}"
with_items
:
"
{{
static_websites
}}"
tags
:
-
static-website
-
name
:
ensure git module is not able to clone anymore
command
:
mount -o remount,noexec /tmp
environment
:
TMPDIR
:
/root/.ansible/tmp
tags
:
-
static-website
Loading