0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-13 22:50:40 +00:00
wp-ansible/docs/content/_index.md

1.9 KiB

title
wp-ansible

Build Status Docker Hub Quay.io Go Report Card GitHub contributors Source: GitHub License: MIT

Woodpecker CI plugin to manage infrastructure with Ansible.

{{< toc >}}

Usage

kind: pipeline
name: default

steps:
  - name: ansible
    image: thegeeklab/drone-ansible
    settings:
      playbook: deployment/playbook.yml
      private_key:
        from_secret: ansible_private_key
      inventory: deployment/hosts.yml

Parameters

{{< propertylist name=wp-ansible.data sort=name >}}

Build

Build the binary with the following command:

make build

Build the Container image with the following command:

docker build --file Containerfile.multiarch --tag thegeeklab/wp-ansible .

Test