diff --git a/.github/workflows/destroy.yml b/.github/workflows/destroy.yml index 4e9ac75..e459ca2 100644 --- a/.github/workflows/destroy.yml +++ b/.github/workflows/destroy.yml @@ -12,6 +12,9 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Remove Apache + uses: ansible -i aws_ec2.yml -all -m apt -a "name=apache2 status=absent" + - name: Terraform init run: terraform init