you are showing a playbook with a single task and no variables, there is not much to break up here
On Fri, Aug 20, 2021 at 4:58 PM Tony Wong <[email protected]> wrote: > > how do I break this play up into roles/tasks/variables etc.... > > > --- > - hosts: localhost > tasks: > - name: create s3 bucket > s3_bucket: > name: ansibletestbucket12345 > public_access: > block_public_acls: true > ignore_public_acls: true > block_public_policy: true > restrict_public_buckets: true > state: present > encryption: "aws:kms" > encryption_key_id: > "arn:aws:kms:us-west-1:462518063038:key/f164e76a-f6f8-4773-84dc-053a44b2678d" > region: us-west-1 > versioning: yes > tags: > atomenv: prod > atomos: s3 bucket > atomrole: util > atompid: 32 > atomdomain: xxxxx > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/eb897354-e82b-4d8e-bdb0-a9fe32f048f0n%40googlegroups.com. -- ---------- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7d%3DUeQC2f2ap53jpTGFSMdKVaD5SvO8KAES_G1eE0Lhmw%40mail.gmail.com.
