File tree Expand file tree Collapse file tree 4 files changed +82
-0
lines changed
molecule/elasticsearch_upgrade Expand file tree Collapse file tree 4 files changed +82
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ # The workaround for arbitrarily named role directory is important because the git repo has one name and the role within it another
3+ # Found at: https://github.com/ansible-community/molecule/issues/1567#issuecomment-436876722
4+ - name : Converge
5+ collections :
6+ - netways.elasticstack
7+ hosts : all
8+ vars :
9+ # elasticsearch_security: true # needed for tests of > 7 releases
10+ elasticstack_full_stack : false
11+ elasticsearch_jna_workaround : true
12+ elasticsearch_disable_systemcallfilterchecks : true
13+ elasticstack_release : " {{ lookup('env', 'ELASTIC_RELEASE') | int}}"
14+ elasticsearch_heap : " 1"
15+ elasticstack_no_log : false
16+ tasks :
17+ - name : Include Elastics repos role
18+ ansible.builtin.include_role :
19+ name : repos
20+ - name : Include Elasticsearch
21+ ansible.builtin.include_role :
22+ name : elasticsearch
23+ vars :
24+ elasticstack_version : " 8.16.0"
25+ tags :
26+ - molecule-idempotence-notest
27+
28+ - name : Include Elasticsearch
29+ ansible.builtin.include_role :
30+ name : elasticsearch
31+ vars :
32+ elasticstack_version : " 8.17.0"
Original file line number Diff line number Diff line change 1+ ---
2+ dependency :
3+ name : galaxy
4+ options :
5+ requirements-file : requirements.yml
6+ driver :
7+ name : docker
8+ platforms :
9+ - name : elasticsearch_default1
10+ groups :
11+ - elasticsearch
12+ image : " geerlingguy/docker-${MOLECULE_DISTRO:-debian11}-ansible:latest"
13+ command : ${MOLECULE_DOCKER_COMMAND:-""}
14+ volumes :
15+ - /sys/fs/cgroup:/sys/fs/cgroup:rw
16+ cgroupns_mode : host
17+ privileged : true
18+ pre_build_image : true
19+ - name : elasticsearch_default2
20+ groups :
21+ - elasticsearch
22+ image : " geerlingguy/docker-${MOLECULE_DISTRO:-debian11}-ansible:latest"
23+ command : ${MOLECULE_DOCKER_COMMAND:-""}
24+ volumes :
25+ - /sys/fs/cgroup:/sys/fs/cgroup:rw
26+ cgroupns_mode : host
27+ privileged : true
28+ pre_build_image : true
29+ provisioner :
30+ name : ansible
31+ verifier :
32+ name : ansible
Original file line number Diff line number Diff line change 1+ ---
2+ - name : Prepare
3+ hosts : all
4+ tasks :
5+ - name : Install packages for Debian
6+ ansible.builtin.apt :
7+ name :
8+ - gpg
9+ - gpg-agent
10+ - procps
11+ - curl
12+ - iproute2
13+ - git
14+ - openssl
15+ update_cache : yes
Original file line number Diff line number Diff line change 1+ ---
2+ collections :
3+ - community.general
You can’t perform that action at this time.
0 commit comments