blob: 111818451104fbc621a8b1b6aeecc48c8f0167bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
openshift_aws_ami_perms
=========
Ansible role for copying an AMI
Requirements
------------
Ansible Modules:
Role Variables
--------------
- openshift_aws_ami_copy_src_ami: source AMI id to copy from
- openshift_aws_ami_copy_region: region where the AMI is found
- openshift_aws_ami_copy_name: name to assign to new AMI
- openshift_aws_ami_copy_kms_arn: AWS IAM KMS arn of the key to use for encryption
- openshift_aws_ami_copy_tags: dict with desired tags
- openshift_aws_ami_copy_wait: wait for the ami copy to achieve available status. This fails due to boto waiters.
Dependencies
------------
Example Playbook
----------------
```yaml
- name: copy the ami for encrypted disks
include_role:
name: openshift_aws_ami_copy
vars:
r_openshift_aws_ami_copy_region: us-east-1
r_openshift_aws_ami_copy_name: myami
r_openshift_aws_ami_copy_src_ami: ami-1234
r_openshift_aws_ami_copy_kms_arn: arn:xxxx
r_openshift_aws_ami_copy_tags: {}
r_openshift_aws_ami_copy_encrypt: False
```
License
-------
Apache 2.0
Author Information
------------------
Openshift
|