You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
386 B

  1. ---
  2. - name: Install WP-CLI
  3. collections: [ 'debops.debops', 'debops.roles01',
  4. 'debops.roles02', 'debops.roles03' ]
  5. hosts: [ 'debian10' ]
  6. tasks:
  7. - name: Download and install wp-cli
  8. shell: |-
  9. curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
  10. chmod +x wp-cli.phar
  11. mv wp-cli.phar /usr/local/bin/wp