Skip to content
Snippets Groups Projects
Commit eb2b90a1 authored by jurgenhaas's avatar jurgenhaas
Browse files

Local installation script: add more plugins and roles

parent 7265a11d
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
SECRETS="$( cd ~/.ansible && pwd )/secrets"
if [ -d ~/.ansible ]
then
SECRETS="$( cd ~/.ansible && pwd )/secrets"
fi
cd $( cd $(dirname $(realpath $0)) ; pwd )
if [ $1 == "local" ]
......
#!/bin/bash
SECRETS="$( cd ~/.ansible && pwd )/secrets"
if [ -d ~/.ansible ]
then
SECRETS="$( cd ~/.ansible && pwd )/secrets"
fi
cd $( cd $(dirname $(realpath $0)) ; pwd )
if [ -f ./inventory/inventory ]
......
......@@ -15,9 +15,9 @@
repo: "git@gitlab.paragon-es.de"
plugins:
- name: "jiffybox"
repo: "git@github.com:jurgenhaas/ansible-plugin-jiffybox.git"
repo: "{{ repo }}:ansible-plugins/jiffybox.git"
- name: "serverdensity"
repo: "git@github.com:jurgenhaas/ansible-plugin-serverdensity.git"
repo: "{{ repo }}:ansible-plugins/serverdensity.git"
tasks:
- name: "Get other repositories"
git:
......@@ -33,6 +33,8 @@
force: no
- repo: "{{ repo }}:ansible-roles/gitlab.git"
dest: "./roles/gitlab"
- repo: "{{ repo }}:ansible-roles/serverdensity.git"
dest: "./roles/serverdensity"
- name: "Get plugins"
git:
accept_hostkey: yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment