0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-22 10:00:38 +00:00

[skip ci] auto-update documentation

This commit is contained in:
thegeeklab-bot 2023-12-22 11:15:03 +00:00
parent a676098ee2
commit caaff48f24
2 changed files with 208 additions and 0 deletions

63
content/_index.md Normal file
View File

@ -0,0 +1,63 @@
---
title: wp-ansible
---
[![Build Status](https://ci.thegeeklab.de/api/badges/thegeeklab/wp-ansible/status.svg)](https://ci.thegeeklab.de/repos/thegeeklab/wp-ansible)
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/wp-ansible)
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/wp-ansible)
[![Go Report Card](https://goreportcard.com/badge/github.com/thegeeklab/wp-ansible)](https://goreportcard.com/report/github.com/thegeeklab/wp-ansible)
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/wp-ansible)](https://github.com/thegeeklab/wp-ansible/graphs/contributors)
[![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/wp-ansible)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/wp-ansible)](https://github.com/thegeeklab/wp-ansible/blob/main/LICENSE)
Woodpecker CI plugin to manage infrastructure with [Ansible](https://github.com/ansible/ansible).
<!-- prettier-ignore-start -->
<!-- spellchecker-disable -->
{{< toc >}}
<!-- spellchecker-enable -->
<!-- prettier-ignore-end -->
## Usage
```YAML
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
<!-- prettier-ignore-start -->
<!-- spellchecker-disable -->
{{< propertylist name=wp-ansible.data sort=name >}}
<!-- spellchecker-enable -->
<!-- prettier-ignore-end -->
## Build
Build the binary with the following command:
```Shell
make build
```
Build the Container image with the following command:
```Shell
docker build --file Containerfile.multiarch --tag thegeeklab/wp-ansible .
```
## Test
```Shell
```

145
data/data.yaml Normal file
View File

@ -0,0 +1,145 @@
---
properties:
- name: become
description: |
Enable privilege escalation.
defaultvalue: false
- name: become_method
description: |
Privilege escalation method to use.
- name: become_user
description: |
Privilege escalation user to use.
- name: check
description: |
Run a check, do not apply any changes.
defaultvalue: false
- name: connection
description: |
Connection type to use.
- name: diff
description: |
Show the differences. Be careful when using it in public CI environments as it can print secrets.
defaultvalue: false
- name: extra_vars
description: |
Set additional variables as `key=value`.
- name: flush_cache
description: |
Clear the fact cache for every host in inventory.
defaultvalue: false
- name: force_handlers
description: |
Run handlers even if a task fails.
defaultvalue: false
- name: forks
description: |
Specify number of parallel processes to use.
defaultvalue: 5
- name: galaxy_requirements
description: |
Path to galaxy requirements file.
- name: inventory
description: |
Path to inventory file.
- name: limit
description: |
Limit selected hosts to an additional pattern.
- name: list_hosts
description: |
Outputs a list of matching hosts.
defaultvalue: false
- name: list_tags
description: |
List all available tags.
defaultvalue: false
- name: list_tasks
description: |
List all tasks that would be executed.
defaultvalue: false
- name: module_path
description: |
Prepend paths to module library.
- name: playbook
description: |
List of playbooks to apply.
- name: private_key
description: |
SSH private key used to authenticate the connection.
- name: python_requirements
description: |
Path to python requirements file.
- name: scp_extra_args
description: |
Specify extra arguments to pass to SCP connections only.
- name: sftp_extra_args
description: |
Specify extra arguments to pass to SFTP connections only.
- name: skip_tags
description: |
Only run plays and tasks whose tags do not match.
- name: ssh_common_args
description: |
Specify common arguments to pass to SFTP, SCP and SSH connections.
- name: ssh_extra_args
description: |
Specify extra arguments to pass to ssh connections only.
- name: start_at_task
description: |
Start the playbook at the task matching this name.
- name: syntax_check
description: |
Perform a syntax check on the playbook.
defaultvalue: false
- name: tags
description: |
Only run plays and tasks tagged with these values.
- name: timeout
description: |
Override the connection timeout in seconds.
defaultvalue: 0
- name: user
description: |
Connect as this user.
- name: vault_id
description: |
The vault identity to use.
- name: vault_password
description: |
The vault password to use.
- name: verbose
description: |
Level of verbosity, 0 up to 4.
defaultvalue: 0