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 #!/bin/bash
SECRETS="$( cd ~/.ansible && pwd )/secrets" if [ -d ~/.ansible ]
then
SECRETS="$( cd ~/.ansible && pwd )/secrets"
fi
cd $( cd $(dirname $(realpath $0)) ; pwd ) cd $( cd $(dirname $(realpath $0)) ; pwd )
if [ $1 == "local" ] if [ $1 == "local" ]
......
#!/bin/bash #!/bin/bash
SECRETS="$( cd ~/.ansible && pwd )/secrets" if [ -d ~/.ansible ]
then
SECRETS="$( cd ~/.ansible && pwd )/secrets"
fi
cd $( cd $(dirname $(realpath $0)) ; pwd ) cd $( cd $(dirname $(realpath $0)) ; pwd )
if [ -f ./inventory/inventory ] if [ -f ./inventory/inventory ]
......
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
repo: "git@gitlab.paragon-es.de" repo: "git@gitlab.paragon-es.de"
plugins: plugins:
- name: "jiffybox" - name: "jiffybox"
repo: "git@github.com:jurgenhaas/ansible-plugin-jiffybox.git" repo: "{{ repo }}:ansible-plugins/jiffybox.git"
- name: "serverdensity" - name: "serverdensity"
repo: "git@github.com:jurgenhaas/ansible-plugin-serverdensity.git" repo: "{{ repo }}:ansible-plugins/serverdensity.git"
tasks: tasks:
- name: "Get other repositories" - name: "Get other repositories"
git: git:
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
force: no force: no
- repo: "{{ repo }}:ansible-roles/gitlab.git" - repo: "{{ repo }}:ansible-roles/gitlab.git"
dest: "./roles/gitlab" dest: "./roles/gitlab"
- repo: "{{ repo }}:ansible-roles/serverdensity.git"
dest: "./roles/serverdensity"
- name: "Get plugins" - name: "Get plugins"
git: git:
accept_hostkey: yes accept_hostkey: yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment