Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
automation_usb
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joab Bremer
automation_usb
Commits
407ccc25
Commit
407ccc25
authored
Aug 31, 2021
by
Joab Bremer
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.usb.org.br/joab.bremer/automation_usb
parents
0684d02a
93a30e9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
0 deletions
+28
-0
.gitlab-ci.yml
.gitlab-ci.yml
+8
-0
.gitlab-ci.yml
host_web/.gitlab-ci.yml
+8
-0
playbooks-geral.yml
playbooks-geral.yml
+12
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
407ccc25
deploy_playbooks_on_runner
:
script
:
-
"
cd
/home/gitlab-runner/automation_usb"
-
"
ansible-playbook
playbooks-geral.yml"
environment
:
name
:
production
only
:
-
master
host_web/.gitlab-ci.yml
0 → 100644
View file @
407ccc25
stages
:
-
build
build-code-job
:
stage
:
build
script
:
-
'
ansible-playbook
-b
-v
-u
root
update_ip.yml
-kkkk
--extra-vars
"usb-group"
-i
usb_hosts_web'
playbooks-geral.yml
0 → 100644
View file @
407ccc25
---
-
hosts
:
gitlab-runner
sudo
:
yes
tasks
:
#- name: Instalar Cliente git
# yum: name=git state=present
-
name
:
Deploy da aplicação
git
:
repo=git@10.11.0.23:joab.bremer/automation_usb.git dest=/home/gitlab-runner/automation_usb version=master accept_hostkey=True force=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