Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bootiful
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pierre.kunzli
Bootiful
Commits
a21a0936
Commit
a21a0936
authored
10 months ago
by
Pierre Kunzli
Browse files
Options
Downloads
Patches
Plain Diff
working on ansible deployment
parent
4f115a34
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
ansible/configure_app.yml
+8
-3
8 additions, 3 deletions
ansible/configure_app.yml
ansible/configure_runtime.yml
+41
-2
41 additions, 2 deletions
ansible/configure_runtime.yml
ansible/hosts
+1
-1
1 addition, 1 deletion
ansible/hosts
ansible/vars.yml
+1
-1
1 addition, 1 deletion
ansible/vars.yml
with
51 additions
and
7 deletions
ansible/configure_app.yml
+
8
−
3
View file @
a21a0936
-
name
:
Git checkout bootiful project
become
:
false
become
:
true
become_user
:
bootiful
ansible.builtin.git
:
repo
:
"
{{
git_repo
}}"
dest
:
"
{{
git_clone_dest
}}"
dest
:
"
/home/bootiful/
{{
git_clone_dest
}}"
version
:
"
{{
git_branch
}}"
register
:
git_checkout_result
#- name: Build bootiful
# become: false
# community.general.make:
# chdir: "{{ git_clone_dest }}"
This diff is collapsed.
Click to expand it.
ansible/configure_runtime.yml
+
41
−
2
View file @
a21a0936
...
...
@@ -11,8 +11,47 @@
ansible.builtin.apt
:
pkg
:
-
python3-pip
-
python-is-python3
-
pkg-config
-
bison
-
flex
-
git
-
build-essential
-
docker.io
-
docker-compose
-
automake
-
autoconf
-
autogen
-
libtool
-
shtool
-
htop
-
nfs-common
-
nfs-kernel-server
-
rpcbind
-
acl
-
autopoint
state
:
latest
#- docker.io
#- docker-compose
-
name
:
Start service nfs, if not started
become
:
true
ansible.builtin.service
:
name
:
nfs-utils.service
state
:
started
enabled
:
true
-
name
:
Create a user 'bootiful' with a home directory
become
:
true
ansible.builtin.user
:
name
:
bootiful
create_home
:
yes
shell
:
/bin/bash
groups
:
docker
append
:
yes
-
name
:
Copying shh key to remote host
become
:
true
authorized_key
:
user
:
bootiful
state
:
present
key
:
"
{{
lookup('file',
lookup('env','HOME')
+
'/.ssh/id_rsa.pub')}}"
This diff is collapsed.
Click to expand it.
ansible/hosts
+
1
−
1
View file @
a21a0936
[bootiful_server]
bootiful_server_1 ansible_port=22
ansible_user=pierre
ansible_host=bootiful-server
bootiful_server_1 ansible_port=22 ansible_host=bootiful-server
This diff is collapsed.
Click to expand it.
ansible/vars.yml
+
1
−
1
View file @
a21a0936
git_repo
:
"
https://gitedu.hesge.ch/pierre.kunzli/bootiful.git"
git_branch
:
master
git_branch
:
ansible
git_clone_dest
:
bootiful
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment