summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: be43ed3dc241702c7d2687950800aad6e70dccc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
stages:
  - terraform
  - ansible

terraform-job:
  stage: terraform
  tags:
    - lxc
  script:
    - cd final
    - terraform init
    - terraform plan --auto-approve
  artifacts:
    paths:
      - local/hosts

ansible-job:
  stage: ansible
  tags:
    - lxc
  script:
    - cd final
    - ansible-playbook -i hosts lamp.yml
  dependencies:
  - terraform-job
    -