AzBuilder / terrakube

Open source IaC Automation and Collaboration Software.
https://docs.terrakube.io
Apache License 2.0
449 stars 33 forks source link

Feat: Support for ansible #791

Open Bart-vanDongen opened 3 months ago

Bart-vanDongen commented 3 months ago

Feature description 💡

The integration of Ansible support into Terrakube will simplify the management of both cloud infrastructure and on-premises environments. By incorporating Ansible.

Anything else?

No response

alfespa17 commented 3 months ago

Hello @Bart-vanDongen

I am not familiar with ansible but I guess you could create a custom image and add ansible like we do here with other tools and you can use a simple custom template to run ansible like running a bash script like the following:

flow:
  - type: "customScripts"
    step: 100
    commands:
      - runtime: "BASH"
        priority: 200
        before: true
        script: |
          helloWorld.sh
          terratag.sh
  - type: "terraformApply"
    step: 300