Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rudamentary files for ansible playbooks.
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
all: | ||
children: | ||
dockerhosts: | ||
hosts: | ||
192.168.1.156: | ||
macs: | ||
hosts: | ||
hydra-ling: | ||
windows: | ||
hosts: | ||
lurker-ling: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- hosts: dockerhosts | ||
vars: | ||
SLACK_BOT_TOKEN: 200 | ||
remote_user: josiah | ||
tasks: | ||
- name: Pull latest version from github | ||
command: cd ~/mojojojo-bot && git pull | ||
- name: Build from the latest version | ||
command: cd ~/mojojojo-bot && docker build -t mojo -f docker/dockerfile . | ||
- name: Run the newly built docker container | ||
command: docker container run --restart-always mojo -e SLACK_BOT_TOKEN={{ SLACK_BOT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
$ANSIBLE_VAULT;1.1;AES256 | ||
31306630346633643037316266353933333363633466366438303362386433366639303865373636 | ||
6236643364363636656131363832626532336638303431320a343130643061356134396461353864 | ||
32356438653939346232316236633132393165313361326336653263393366353361613230303936 | ||
3334643966633862350a656465663337356135653762323332316639616337396362613366343530 | ||
31303666656666386534383865363233353934646362336135643037363363306564613538653733 | ||
62373338343331313939666533623333386664316461616434623333633939623962323232623232 | ||
37333035623363333062656536313364613831373839373761633266333061326264396638343430 | ||
61623462316533363637 |